import common from "../common";
import constants from "../constants";

const sysDataObjApi = {
    saveSysDataObj: (data, success, error) => {
        return common.requestData(constants.API_SaveSysDataObj, data, success, error);
    },
    findSysDataObjs: (data, success, error) => {
        return common.requestData(constants.API_FindSysDataObjs, data, success, error);
    },
    deleteSysDataObjs: (data, success, error) => {
        return common.requestData(constants.API_DeleteSysDataObjs, data, success, error);
    },
    findSysDataObjAccessRuleList: (data, success, error) => {
        return common.requestData(constants.API_FindSysDataObjAccessRuleList, data, success, error);
    },
};

export default sysDataObjApi;
